package com.example.evaluate.mapper;

import com.example.evaluate.model.ClassRoom;
import com.example.evaluate.model.Teacher;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClassroomMapper {
    /**
     * 通过classroomId找到一个班级的teacher集合，用于添加学生
     * */
    List<Teacher> findAllTeacherByClassroomId(int classroomId);

    /**
     * 添加一条classroom_teacher信息
     * 用于添加课程
     * */
    int addClassroomTeacher(ClassRoom classRoom);
}
